package net.jeeshop.services.common;

import net.jeeshop.core.dao.page.PagerModel;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;
import java.util.Date;


public class Appointments extends PagerModel implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String storeId;
    private String name;
    private String phone;
    private String productId;
    private Date appointmentTime;
    private Date ctime;

    @Override
    public void clear () {
        super.clear();

        id = null;
        storeId = null;
        name = null;
        phone = null;
        productId = null;
        appointmentTime = null;
        ctime = null;
    }

    /**
     * 获取 method for property <tt>id</tt>.
     *
     * @return property value of id
     */
    public String getId () {
        return id;
    }

    /**
     * 设置 method for property <tt>id</tt>.
     *
     * @param id value to be assigned to property id
     */
    public void setId (String id) {
        this.id = id;
    }

    /**
     * 获取 method for property <tt>storeId</tt>.
     *
     * @return property value of storeId
     */
    public String getStoreId () {
        return storeId;
    }

    /**
     * 设置 method for property <tt>storeId</tt>.
     *
     * @param storeId value to be assigned to property storeId
     */
    public Appointments setStoreId (String storeId) {
        this.storeId = storeId;
        return this;
    }

    /**
     * 获取 method for property <tt>name</tt>.
     *
     * @return property value of name
     */
    public String getName () {
        return name;
    }

    /**
     * 设置 method for property <tt>name</tt>.
     *
     * @param name value to be assigned to property name
     */
    public Appointments setName (String name) {
        this.name = name;
        return this;
    }

    /**
     * 获取 method for property <tt>phone</tt>.
     *
     * @return property value of phone
     */
    public String getPhone () {
        return phone;
    }

    /**
     * 设置 method for property <tt>phone</tt>.
     *
     * @param phone value to be assigned to property phone
     */
    public Appointments setPhone (String phone) {
        this.phone = phone;
        return this;
    }

    /**
     * 获取 method for property <tt>productId</tt>.
     *
     * @return property value of productId
     */
    public String getProductId () {
        return productId;
    }

    /**
     * 设置 method for property <tt>productId</tt>.
     *
     * @param productId value to be assigned to property productId
     */
    public Appointments setProductId (String productId) {
        this.productId = productId;
        return this;
    }

    /**
     * 获取 method for property <tt>appointmentTime</tt>.
     *
     * @return property value of appointmentTime
     */
    public Date getAppointmentTime () {
        return appointmentTime;
    }

    /**
     * 设置 method for property <tt>appointmentTime</tt>.
     *
     * @param appointmentTime value to be assigned to property appointmentTime
     */
    public Appointments setAppointmentTime (Date appointmentTime) {
        this.appointmentTime = appointmentTime;
        return this;
    }

    /**
     * 获取 method for property <tt>ctime</tt>.
     *
     * @return property value of ctime
     */
    public Date getCtime () {
        return ctime;
    }

    /**
     * 设置 method for property <tt>ctime</tt>.
     *
     * @param ctime value to be assigned to property ctime
     */
    public Appointments setCtime (Date ctime) {
        this.ctime = ctime;
        return this;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this).append("id", id).append("storeId", storeId).append("name", name).append("phone", phone).append("productId", productId).append("appointmentTime", appointmentTime).append("ctime", ctime).toString();
    }
}
